package com.xxl.service;

import com.xxl.dao.UserMapper;
import com.xxl.pojo.User;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 业务层
 * @author xxl
 * @date 2023/3/13
 */
@Service
public class UserServiceImpl implements UserService{
    @Resource
    UserMapper mapper;

    @Override
    public User findUserByName(String username) {
        return mapper.findUserByName(username);
    }
}
